package org.jeemp.api.dao;

import org.jeemp.api.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author JackRen
 * @date 2021-03-07 13:07
 * @description:
 */
public interface UserDao extends JpaRepository<User,Integer> {

    User findByUsername(String username);

    User getByUsernameAndPassword(String username,String password);

}
